import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs/Observable';

import { CommonHttpService } from './common/common-http-service';
@Injectable()
export class PostwatchednumService extends CommonHttpService{
  constructor(public httpClient: HttpClient
  ) {
    super(httpClient);
    console.log(httpClient);

  }

  public postWatchedNum(vid:string): Observable<any> {
    let url =`campaign/addWatchNumber/vid${vid}`;

    return this.put1(url);
  }
}
